package com.weishaoying.example.base.aop;

import org.springframework.stereotype.Service;

/**
 * @author WeiShaoying
 * @date 2018/4/3
 */
@Service
public class DogService {

    public void run(int speed) {
        System.out.println("====Dog跑步速度" + speed);
    }

    public void eat(int cnt, String food) {
        System.out.println("====正在吃" + cnt + "个" + food);
    }

    public void watch() {
        System.out.println("====看门");
    }
}
